#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMap>

namespace Ui
{
   class MainWindow;
}

class MainWindow : public QMainWindow
{
   Q_OBJECT

public:
   explicit MainWindow(QWidget *parent = 0);
   ~MainWindow();

private slots:
   void OnOpen();

private:
   void BuildSevenSegments(const QStringList& list);
   void ParseFile(const QString& fileName);
   void ValidateAccountNumbers();

   Ui::MainWindow *ui;
   QString AccountFile;
   QMap<QString, int> DecimalNumbers;
   QVector< QVector<int> > AccountNumbers;
};

#endif // MAINWINDOW_H
